Page({
  data:{},
  onLoad(){
    this.setData({
      userInfo:wx.getStorageSync("userInfo")    //获取用信息
    });
  },
  ringUp(e){
    wx.makePhoneCall({
      phoneNumber: '400-118-1234',
      success: function () {
        console.log("拨打电话成功！")
      },
      fail: function () {
        console.log("拨打电话失败！")
      }
    });
  }
});